import re

msg = "san chuang tong le, welcom, 'hello dfa dfads world', hlsd dkjls 'hello wlwll', learn python"
ret = re.findall(r"(?<=\')[\w ]+(?=\')\b|\w+", msg)
print(ret)

# 正则表达式的步骤：增减